package com.ironman.common.entity;

import lombok.Getter;

import java.util.Date;

@Getter
public class WindData extends BaseData {

    /**
     * 教练艇编号
     */
    private final String trainingBoatCode;

    /**
     * 原始风速(cm/s)
     */
    private final Long speed;

    /**
     * 原始风向(°)
     */
    private final Integer direction;

    public WindData(Date ts, String trainingBoatCode, Long speed, Integer direction) {
        super(ts);
        this.trainingBoatCode = trainingBoatCode;
        this.speed = speed;
        this.direction = direction;
    }

    @Override
    public Double calValue() {
        return null;
    }
}